package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.TransportStaffGradeDTO;
import com.hunttown.mes.rpc.domain.query.TransportStaffGradeDTOQuery;

/**
 * created by wangjunfu on 2020-01-11 22:20:31
 */
public interface TransportStaffGradeRpcService {

    TransportStaffGradeDTO insert(TransportStaffGradeDTO transportStaffGradeDTO);

    Boolean updateInfoById(TransportStaffGradeDTO transportStaffGradeDTO);

    Boolean updateInfoByQuery(TransportStaffGradeDTOQuery transportStaffGradeDTOQuery);

    TransportStaffGradeDTO selectById(Integer id);

    TransportStaffGradeDTO selectObjByQuery(TransportStaffGradeDTOQuery transportStaffGradeDTOQuery);

    Page<TransportStaffGradeDTO> getListForPage(TransportStaffGradeDTOQuery transportStaffGradeDTOQuery);

    Boolean deleteById(Integer id);
}